

public class Brot extends Speise {
	private String[] Sorte = { "Weiß", "Schwarz", "Misch", "Spezial" };
	private int brottyp = -1;

	public Brot(int brottyp, int menge) {
		super("brot", menge);
		if ((brottyp > 2) || (brottyp < 0)) {
			brottyp = 3;
		}
		this.brottyp = brottyp;
	}

	@Override
	public boolean essen() {
		return super.essen(50);
	}

	@Override
	public String status() {
		return super.status(Sorte[brottyp]);
	}

}
